import home from '@/views/home'
import about from '@/views/about'

export default [
  {
    path: '/',
    // 重定向
    redirect: '/home'
  },
  {
    // 路由匹配的路径
    path: '/home',
    // 路由匹配成功后要渲染的组件
    component: home
  },
  {
    path: '/about',
    component: about
  }
]
